import axios from 'axios'
export let get_list=()=>{
    return async(dispatch)=>{
        let {data} = await axios.get('/list')
        dispatch({
            type:'GET_LIST',
            payload:data
        })
    }
}
